package org.changchen.fgt.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.changchen.fgt.dto.DoubanHotDto;

public interface DoubanHotService {

	/**   
	 * @Title:      getDoubanHotTv   
	 * @Description:豆瓣热播剧集   
	 * @param:      @return      
	 * @return:     List<DoubanHotDto>      
	 * @throws   
	 */
	List<DoubanHotDto> getDoubanHotTv(String tag, int page, int size);

	/**   
	 * @Title:      getDoubanHotMovie   
	 * @Description:豆瓣热播电影   
	 * @param:      @return      
	 * @return:     List<DoubanHotDto>      
	 * @throws   
	 */
	List<DoubanHotDto> getDoubanHotMovie(String tag, int page, int size);

	/**   
	 * @Title:      getDoubanHot   
	 * @Description:剧集和电影热播聚合   
	 * @param:      @return      
	 * @return:     List<DoubanHotDto>      
	 * @throws   
	 */
	List<DoubanHotDto> getDoubanHot(String tag, int page, int size);

	
	/**   
	 * @Title:      doubanImage   
	 * @Description:获取封面图片   
	 * @param:      @param response
	 * @param:      @param imgUrl
	 * @param:      @throws FileNotFoundException
	 * @param:      @throws IOException      
	 * @return:     void      
	 * @throws   
	 */
	void doubanImage(HttpServletResponse response, String imgUrl) throws FileNotFoundException, IOException;

}
